#ifndef CONFIRMDIALOG_H
#define CONFIRMDIALOG_H

#include <QDialog>
#include <QAbstractButton>

namespace Ui {
    class ConfirmDialog;
}

class ConfirmDialog : public QDialog
{
    Q_OBJECT

public:
    explicit ConfirmDialog(QWidget *parent = 0);
    ~ConfirmDialog();

protected:
    void closeEvent(QCloseEvent *event);

public slots:
    void setUnlockPassword(QString pw);
    void setIgnitionPassword(QString pw);
    void setPasswordFileName(QString fn);

private slots:

    //void on_buttonBox_clicked(QAbstractButton *button);
    void on_ignitionedit_textEdited(const QString &arg1);
    void on_unlockedit_textEdited(const QString &arg1);

private:
    Ui::ConfirmDialog *ui;
    QString unlock,ignition;
};

#endif // CONFIRMDIALOG_H
